package com.study.springbootgit.dao.impl;

import com.study.springbootgit.dao.UserRepository;
import com.study.springbootgit.pojo.User;


public class UserRepositoryImpl implements UserRepository {
    @Override
    public User getUser(int userId) {
        User user = new User();
        user.setUserId(userId);
        user.setUserName("admin");
        user.setPassword("123456");
        return user;
    }
}
